package com.i2works.smartluolong.web.entity.flow;

import com.i2works.smartluolong.utils.entity.BaseCommQuery;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class FlowInfoQuery extends BaseCommQuery{ 

	private Integer id; // 
	private Integer itemId; // 事项编号（申请ID或变更ID）
	private String itemName; // 
	private String itemType; // 事项类型（标记属于那种事项，可以使用英文字符串代替）
	private Integer userId; // 申请人
	private Integer auditorId; // 审核人
	private Integer termLevel;//事项期限级别（1正常，2严重，3超期）；默认值：1
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date deadline;//事项到期期限
	private Integer itemStatus; // 事项申请状态；默认值：0
	private Integer complete; // 是否完成（0未完成，1已完成）；默认值：0
	private Integer status; // 状态(1启用，0禁用）；默认值：1
	
	//附加字段
	private List<Integer> applyStatusList; //申请状态列表


	public Integer getId(){
		return id;
	 } 

	public  void  setId(Integer id){
		this.id=id;
	 }

	public Integer getTermLevel() {
		return termLevel;
	}

	public void setTermLevel(Integer termLevel) {
		this.termLevel = termLevel;
	}

	public Date getDeadline() {
		return deadline;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}

	public Integer getItemId(){
		return itemId;
	 } 

	public  void  setItemId(Integer itemId){
		this.itemId=itemId;
	 } 

	public String getItemName(){
		return itemName;
	 } 

	public  void  setItemName(String itemName){
		this.itemName=itemName;
	 } 

	public String getItemType(){
		return itemType;
	 } 

	public  void  setItemType(String itemType){
		this.itemType=itemType;
	 } 

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getAuditorId(){
		return auditorId;
	 } 

	public  void  setAuditorId(Integer auditorId){
		this.auditorId=auditorId;
	 } 

	
	public Integer getItemStatus() {
		return itemStatus;
	}

	public void setItemStatus(Integer itemStatus) {
		this.itemStatus = itemStatus;
	}

	public Integer getComplete(){
		return complete;
	 } 

	public  void  setComplete(Integer complete){
		this.complete=complete;
	 } 

	public Integer getStatus(){
		return status;
	 } 

	public  void  setStatus(Integer status){
		this.status=status;
	 }

	public List<Integer> getApplyStatusList() {
		return applyStatusList;
	}

	public void setApplyStatusList(List<Integer> applyStatusList) {
		this.applyStatusList = applyStatusList;
	} 
	
	

 } 
